package com.deltarail.snmp.spy.properties;

import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;


/**
 * 
 * Properties displayed in the results table
 *
 */

public class ResultTableProperties 
{
	// The oid received
	private StringProperty oid;
	// The value received
	private StringProperty value;	
	
	/**
	 * 
	 * @param oid The payload of the oid received
	 * @param value The payload of the value received
	 */
	
	public ResultTableProperties(final String oid, final String value)
	{
		this.oid = new SimpleStringProperty(oid);
		this.value = new SimpleStringProperty(value);
	}

	/**
	 * Gets the last received timestamp property.
	 * 
	 * @return Last received timestamp as StringProperty
	 */
	public StringProperty oidProperty()
	{
		return oid;
	}
	
	/**
	 * Gets the last received timestamp property.
	 * 
	 * @return Last received timestamp as StringProperty
	 */
	public StringProperty valueProperty()
	{
		return value;
	}

}
